package cn.monkey.data.repository;

import cn.monkey.data.entity.dto.QueryRequest;

import java.util.Optional;

public interface RepositoryBehaviorContext<Q extends QueryRequest, Filter, T> {
    Optional<BeforeSelectBehavior<Q, Filter>> beforeSelectBehavior();

    Optional<BeforeCreateBehavior<T>> beforeCreateBehavior();

    Optional<BeforeUpdateBehavior<T>> beforeUpdateBehavior();
}
